package com.ruoyi.sales.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 计划编码对象 zc_plan_code
 * 
 * @author woo
 * @date 2024-03-22
 */
public class ZcPlanCode extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 计划编码表id */
    private Long codeId;

    /** 计划编码 */
    @Excel(name = "计划编码")
    private String code;

    /** 收货人 */
    @Excel(name = "收货人")
    private String custom;

    /** 收货地址 */
    @Excel(name = "收货地址")
    private String address;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String phone;

    /** 状态 */
    @Excel(name = "状态",dictType = "zc_plan_code")
    private Character status;

    /** 逻辑删除 */
    private Integer del;

    // 下拉框显示
    @TableField(exist = false)
    private String customText;

    public String getCustomText() {
        return customText;
    }

    public void setCustomText(String customText) {
        this.customText = customText;
    }

    public void setCodeId(Long codeId) 
    {
        this.codeId = codeId;
    }

    public Long getCodeId() 
    {
        return codeId;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setCustom(String custom) 
    {
        this.custom = custom;
    }

    public String getCustom() 
    {
        return custom;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setStatus(Character status)
    {
        this.status = status;
    }

    public Character getStatus()
    {
        return status;
    }
    public void setDel(Integer del)
    {
        this.del = del;
    }

    public Integer getDel() 
    {
        return del;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("codeId", getCodeId())
            .append("code", getCode())
            .append("custom", getCustom())
            .append("address", getAddress())
            .append("phone", getPhone())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("del", getDel())
            .toString();
    }
}
